<?php $__env->startSection('content'); ?>
    <div class="page-category" data-log="商品分类">

        <div class="page-category-wrap">

            <?php foreach($categories as $category): ?>
                    <div class="list-wrap" id="m0">
                        <h3 class="list_title"><?php echo e($category->name); ?></h3>
                        <ol class="list_category">
                            <?php foreach($category->children as $c): ?>
                                <li onclick="location.href='/list/<?php echo e($c->id); ?>'">
                                    <div class="img"><img src="<?php echo e($c->thumb); ?>"></div>

                                </li>
                            <?php endforeach; ?>
                        </ol>
                    </div>
            <?php endforeach; ?>
        </div>
    </div>
        <?php echo $__env->make('home.layouts._footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('js'); ?>
<script src="/assets/mi/js/jquery.min.js"></script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('home.layouts.application', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>